﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dtos;

namespace IBLL
{
    public interface ITeachersBll
    {
        Task<int> AddTeachersAsync(string name, DateTime birthday, string gender, string tel, string email, string qqNumber, string address, string pwd, string photo, Guid positionsId);
        Task<int> EditTeachersAsync(Guid id, string name, DateTime birthday, string gender, string tel, string email, string qqNumber, string address, string pwd, string photo, Guid positionsId);
        Task<int> DeleteTeachersAsync(Guid id);
        Task<List<TeachersDtos>> getAllTeachers();
        Task<List<TeachersDtos>> getTeachersByNameAsync(string title);
        Task<TeachersDtos> GetTeachersIdAsync(Guid id);
        Task<bool> IsExistsAsync(string title);
    }
}
